192
|
How do I display radio buttons for all cells in the column

With Excombobox1
.Columns.Add("Radio").set_Def(exontrol.EXCOMBOBOXLib.DefColumnEnum.exCellHasRadioButton,True)
.Items.AddItem(0)
.Items.AddItem(1)
End With
|
191
|
How do I display checkboxes for all cells in the column

With Excombobox1
.Columns.Add("Check").set_Def(exontrol.EXCOMBOBOXLib.DefColumnEnum.exCellHasCheckBox,True)
.Items.AddItem(0)
.Items.AddItem(1)
End With
|
247
|
How do I display as strikeout an item

With Excombobox1
.Columns.Add("Default")
With .Items
.set_ItemStrikeOut(.AddItem("strikeout"),True)
End With
End With
|
248
|
How do I display as strikeout a cell or an item

With Excombobox1
.Columns.Add("Default")
With .Items
.set_CellCaptionFormat(.AddItem("gets <s>strikeout</s> only a portion of text"),0,exontrol.EXCOMBOBOXLib.CaptionFormatEnum.exHTML)
End With
End With
|
249
|
How do I display as strikeout a cell

With Excombobox1
.Columns.Add("Default")
With .Items
.set_CellStrikeOut(.AddItem("strikeout"),0,True)
End With
End With
|
241
|
How do I display as italic an item

With Excombobox1
.Columns.Add("Default")
With .Items
.set_ItemItalic(.AddItem("italic"),True)
End With
End With
|
242
|
How do I display as italic a cell or an item

With Excombobox1
.Columns.Add("Default")
With .Items
.set_CellCaptionFormat(.AddItem("gets <i>italic</i> only a portion of text"),0,exontrol.EXCOMBOBOXLib.CaptionFormatEnum.exHTML)
End With
End With
|
243
|
How do I display as italic a cell

With Excombobox1
.Columns.Add("Default")
With .Items
.set_CellItalic(.AddItem("italic"),0,True)
End With
End With
|
90
|
How do I disable the full-row selection in the control

With Excombobox1
.FullRowSelect = False
.Columns.Add("Column")
.Items.AddItem("One")
.Items.AddItem("Two")
End With
|
113
|
How do I disable the control

With Excombobox1
.Enabled = False
End With
|
80
|
How do I disable sorting the columns when clicking the control's header

With Excombobox1
.SortOnClick = exontrol.EXCOMBOBOXLib.SortOnClickEnum.exNoSort
.Columns.Add("1")
.Columns.Add("2")
End With
|
81
|
How do I disable sorting a specified column when clicking its header

With Excombobox1
.Columns.Add("1")
.Columns.Add("NoSort").AllowSort = False
End With
|
118
|
How do I disable showing the tooltip for all control
With Excombobox1
.ToolTipDelay = 0
.Columns.Add("tootip").ToolTip = "this is a tooltip assigned to a column"
End With
|
178
|
How do I disable resizing a column at runtime

With Excombobox1
.Columns.Add("Unsizable").AllowSizing = False
.Columns.Add("C2")
.Columns.Add("C3")
.Columns.Add("C4")
End With
|
250
|
How do I disable or enable an item

With Excombobox1
.Columns.Add("Default")
With .Items
.set_EnableItem(.AddItem("disabled"),False)
End With
.Items.AddItem("enabled")
End With
|
179
|
How do I disable drag and drop columns

With Excombobox1
.Columns.Add("C1").AllowDragging = False
.Columns.Add("C2").AllowDragging = False
End With
|
51
|
How do I change visual appearance of the +/- ( expand/collapse ) buttons

Dim h
With Excombobox1
.LinesAtRoot = exontrol.EXCOMBOBOXLib.LinesAtRootEnum.exGroupLinesAtRoot
.HasButtons = exontrol.EXCOMBOBOXLib.ExpandButtonEnum.exWPlus
.Columns.Add("Column")
With .Items
h = .AddItem("Root 1")
.InsertItem(h,Nothing,"Child 1")
.InsertItem(h,Nothing,"Child 2")
.set_ExpandItem(h,True)
h = .AddItem("Root 2")
.InsertItem(h,Nothing,"Child")
End With
End With
|
266
|
How do I change the visual effect for the cell, using your EBN files

Dim h
With Excombobox1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.Columns.Add("C1")
.Columns.Add("C2")
With .Items
h = .AddItem("Cell 1")
.set_CellCaption(h,1,"Cell 2")
.set_CellBackColor32(h,1,&H1000000)
End With
End With
|
147
|
How do I change the visual aspect only for the thumb in the scroll bar, using EBN

With Excombobox1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.VisualAppearance.Add(2,"c:\exontrol\images\pushed.ebn")
.VisualAppearance.Add(3,"c:\exontrol\images\hot.ebn")
.set_Background32(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exHSThumb,&H1000000)
.set_Background32(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exHSThumbP,&H2000000)
.set_Background32(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exHSThumbH,&H3000000)
.ColumnAutoResize = False
.Columns.Add("S").Width = 483
End With
|
140
|
How do I change the visual aspect of the drop down filter button, using EBN

With Excombobox1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.set_Background32(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exHeaderFilterBarButton,&H1000000)
.Columns.Add("Filter").DisplayFilterButton = True
End With
|
143
|
How do I change the visual aspect of the drop down calendar window, that shows up if I click the drop down filter button, using EBN

With Excombobox1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.VisualAppearance.Add(2,"c:\exontrol\images\pushed.ebn")
.set_Background32(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exDateHeader,&H1000000)
.set_Background32(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exDateTodayUp,&H1000000)
.set_Background32(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exDateTodayDown,&H2000000)
.set_Background32(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exDateScrollThumb,&H1000000)
.set_Background(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exDateScrollRange,Color.FromArgb(230,230,230))
.set_Background(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exDateSeparatorBar,Color.FromArgb(230,230,230))
.set_Background32(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exDateSelect,&H1000000)
With .Columns.Add("Date")
.FilterType = exontrol.EXCOMBOBOXLib.FilterTypeEnum.exDate
.DisplayFilterButton = True
.DisplayFilterDate = True
End With
End With
|
142
|
How do I change the visual aspect of the close button in the filter bar, using EBN

With Excombobox1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.set_Background32(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exFooterFilterBarButton,&H1000000)
.Columns.Add("Filter").FilterType = exontrol.EXCOMBOBOXLib.FilterTypeEnum.exBlanks
.ApplyFilter()
End With
|
144
|
How do I change the visual aspect of selected item in the drop down filter window, using your EBN technology

With Excombobox1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.set_Background32(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exSelBackColorFilter,&H1000000)
.set_Background(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exSelForeColorFilter,Color.FromArgb(255,20,20))
.Columns.Add("Filter").DisplayFilterButton = True
End With
|
141
|
How do I change the visual aspect of buttons in the cell, using EBN

With Excombobox1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.VisualAppearance.Add(2,"c:\exontrol\images\pushed.ebn")
.set_Background32(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exCellButtonUp,&H1000000)
.set_Background32(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exSizeGrip,&H2000000)
.SelForeColor = Color.FromArgb(0,0,0)
.ShowFocusRect = False
.Columns.Add("Column 1").set_Def(exontrol.EXCOMBOBOXLib.DefColumnEnum.exCellHasButton,True)
.Items.AddItem("Button 1")
.Items.AddItem("Button 2")
.Columns.Add("Column 2")
End With
|
148
|
How do I change the visual aspect for thumb parts in the scroll bars, using EBN

With Excombobox1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.VisualAppearance.Add(2,"c:\exontrol\images\pushed.ebn")
.VisualAppearance.Add(3,"c:\exontrol\images\hot.ebn")
.set_Background32(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exHSThumb,&H1000000)
.set_Background32(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exHSThumbP,&H2000000)
.set_Background32(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exHSThumbH,&H3000000)
.set_Background32(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exVSThumb,&H1000000)
.set_Background32(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exVSThumbP,&H2000000)
.set_Background32(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exVSThumbH,&H3000000)
.ColumnAutoResize = False
.ScrollBySingleLine = True
.Columns.Add("S").Width = 483
With .Items
.set_ItemHeight(.AddItem("Item 1"),248)
End With
.Items.AddItem("Item 2")
End With
|
236
|
How do I change the visual appearance for the item, using your EBN technology

Dim h,hC
With Excombobox1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.Columns.Add("Default")
With .Items
h = .AddItem("Root")
hC = .InsertItem(h,Nothing,"Child 1")
.set_ItemBackColor32(hC,&H1000000)
.InsertItem(h,Nothing,"Child 2")
.set_ExpandItem(h,True)
End With
End With
|
98
|
How do I change the visual appearance effect for the selected item, using EBN

With Excombobox1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.SelBackColor32 = &H1000000
.SelForeColor = Color.FromArgb(0,0,0)
.ShowFocusRect = False
.Columns.Add("Column")
.Items.AddItem(0)
.Items.AddItem(1)
End With
|
335
|
How do I change the text in the edit or label area

With Excombobox1
.Columns.Add("Column")
With .Items
.AddItem("Item 3")
.AddItem("Item 1")
.AddItem("Item 2")
End With
.set_EditText(0,"Test")
End With
|
157
|
How do I change the item's foreground color for numbers between an interval - Range

With Excombobox1
.ConditionalFormats.Add("%0 >= 2 and %0 <= 10").ForeColor = Color.FromArgb(255,0,0)
.Columns.Add("Numbers")
.Items.AddItem(1)
.Items.AddItem(2)
.Items.AddItem(10)
.Items.AddItem(20)
End With
|
156
|
How do I change the item's background color for numbers less than a value

With Excombobox1
.ConditionalFormats.Add("%0 < 10").BackColor = Color.FromArgb(255,0,0)
.Columns.Add("Numbers")
.Items.AddItem(1)
.Items.AddItem(2)
.Items.AddItem(10)
.Items.AddItem(20)
End With
|
102
|
How do I change the height of the control's filterbar

With Excombobox1
.FilterBarHeight = 32
With .Columns.Add("Column")
.DisplayFilterButton = True
.FilterType = exontrol.EXCOMBOBOXLib.FilterTypeEnum.exBlanks
End With
.ApplyFilter()
End With
|
251
|
How do I change the height of an item

With Excombobox1
.ScrollBySingleLine = True
.Columns.Add("Default")
With .Items
.set_ItemHeight(.AddItem("height"),128)
End With
.Items.AddItem("enabled")
End With
|
101
|
How do I change the header's foreground color

With Excombobox1
.HeaderForeColor = Color.FromArgb(255,0,0)
.Columns.Add("Column 1")
.Columns.Add("Column 2")
.Items.AddItem("Item 1")
End With
|
103
|
How do I change the foreground color of the control's filterbar

With Excombobox1
.FilterBarForeColor = Color.FromArgb(255,0,0)
With .Columns.Add("Column")
.DisplayFilterButton = True
.FilterType = exontrol.EXCOMBOBOXLib.FilterTypeEnum.exBlanks
End With
.ApplyFilter()
End With
|
237
|
How do I change the foreground color for the item

Dim h,hC
With Excombobox1
.Columns.Add("Default")
With .Items
h = .AddItem("Root")
hC = .InsertItem(h,Nothing,"Child 1")
.set_ItemForeColor(hC,Color.FromArgb(255,0,0))
.InsertItem(h,Nothing,"Child 2")
.set_ExpandItem(h,True)
End With
End With
|
106
|
How do I change the font of the control's filterbar

With Excombobox1
.FilterBarFont.Size = 20
With .Columns.Add("Column")
.DisplayFilterButton = True
.FilterType = exontrol.EXCOMBOBOXLib.FilterTypeEnum.exBlanks
End With
.ApplyFilter()
End With
|
568
|
How do I change the drop down filter icon/button (black)

With Excombobox1
.BeginUpdate()
With .VisualAppearance
.Add(1,"gBFLBCJwBAEHhEJAAEhABXUIQAAYAQGKIcBiAKBQAGYBIJDEMgzDDAUBjKKocQTC4AIQjCK4JDKHYJRpHEZyCA8EhqGASRAFUQBYiWE4oSpLABQaK0ZwIGyRIrkGQgQ" & _
"gmPYDSDNU4zVIEEglBI0TDNczhNDENgtGYaJqHIYpZBcM40TKkEZoSIITZcRrOEBiRL1S0RBhGcRUHZlWzdN64LhuK47UrWdD/XhdVzXRbjfz1Oq+bxve48Br7A5yYTh" & _
"dr4LhOFQ3RjIL4xbIcUwGe6VZhjOLZXjmO49T69HTtOCYBEBA")
End With
.set_Background32(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exCursorHoverColumn,-1)
.set_Background32(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exHeaderFilterBarButton,&H1000000)
.set_Background(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exBackColorFilter,Color.FromArgb(0,0,1))
.set_Background(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exForeColorFilter,Color.FromArgb(255,255,255))
.set_Description(exontrol.EXCOMBOBOXLib.DescriptionTypeEnum.exFilterBarExclude,"<bgcolor 0><fgcolor ffffff> Exclude </fgcolor></bgcolor>")
.HeaderAppearance = exontrol.EXCOMBOBOXLib.AppearanceEnum.None2
.HeaderBackColor = Color.FromArgb(0,0,0)
.HeaderForeColor = Color.FromArgb(255,255,255)
.HeaderVisible = True
With .Columns.Add("Filter")
.FilterList = exontrol.EXCOMBOBOXLib.FilterListEnum.exShowExclude Or exontrol.EXCOMBOBOXLib.FilterListEnum.exShowCheckBox
.DisplayFilterButton = True
.AllowSort = False
.AllowDragging = False
End With
With .Items
.AddItem("One")
.AddItem("Two")
.AddItem("Three")
End With
.EndUpdate()
End With
|
86
|
How do I change the control's foreground color

With Excombobox1
.ForeColor = Color.FromArgb(120,120,120)
.Columns.Add("Column")
.Items.AddItem("item")
End With
|
322
|
How do I change the control's border, using your EBN files

With Excombobox1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.Appearance = &H1000000
End With
|
85
|
How do I change the control's background color

With Excombobox1
.BackColor = Color.FromArgb(200,200,200)
End With
|
87
|
How do I change the control's background / foreground color on the locked area

With Excombobox1
.CountLockedColumns = 1
.ForeColorLock = Color.FromArgb(240,240,240)
.BackColorLock = Color.FromArgb(128,128,128)
.ColumnAutoResize = False
.Columns.Add("Locked").Width = 128
.Columns.Add("Un-Locked 1").Width = 128
.Columns.Add("Un-Locked 2").Width = 128
.Columns.Add("Un-Locked 3").Width = 128
With .Items
.set_CellCaption(.AddItem("locked"),1,"unlocked")
End With
End With
|
158
|
How do I change the column's foreground color for numbers between an interval - Range

With Excombobox1
With .ConditionalFormats.Add("%0 >= 2 and %0 <= 10")
.Bold = True
.ForeColor = Color.FromArgb(255,0,0)
.ApplyTo = &H1
End With
.Columns.Add("N1")
.Columns.Add("N2")
With .Items
.set_CellCaption(.AddItem(1),1,2)
End With
With .Items
.set_CellCaption(.AddItem(3),1,3)
End With
With .Items
.set_CellCaption(.AddItem(10),1,11)
End With
With .Items
.set_CellCaption(.AddItem(13),1,31)
End With
.SearchColumnIndex = 1
End With
|
175
|
How do I change the column's caption

With Excombobox1
.Columns.Add("Column").Caption = "new caption"
End With
|
97
|
How do I change the colors for the selected item

With Excombobox1
.SelBackColor = Color.FromArgb(0,0,0)
.Columns.Add("Column")
.Items.AddItem(0)
.Items.AddItem(1)
End With
|
267
|
How do I change the cell's foreground color

Dim h
With Excombobox1
.Columns.Add("C1")
.Columns.Add("C2")
With .Items
h = .AddItem("Cell 1")
.set_CellCaption(h,1,"Cell 2")
.set_CellForeColor(h,1,Color.FromArgb(255,0,0))
End With
End With
|
265
|
How do I change the cell's background color

Dim h
With Excombobox1
.Columns.Add("C1")
.Columns.Add("C2")
With .Items
h = .AddItem("Cell 1")
.set_CellCaption(h,1,"Cell 2")
.set_CellBackColor(h,1,Color.FromArgb(255,0,0))
End With
End With
|
264
|
How do I change the caption or value for a particular cell

With Excombobox1
.Columns.Add("C1")
.Columns.Add("C2")
With .Items
.set_CellCaption(.AddItem("Cell 1"),1,"Cell 2")
End With
End With
|
115
|
How do I change the caption being displayed in the control's filter bar

With Excombobox1
.FilterBarCaption = "your filter caption"
With .Columns.Add("Column")
.DisplayFilterButton = True
.FilterType = exontrol.EXCOMBOBOXLib.FilterTypeEnum.exBlanks
End With
.ApplyFilter()
End With
|
104
|
How do I change the background color of the control's filterbar

With Excombobox1
.FilterBarBackColor = Color.FromArgb(240,240,240)
With .Columns.Add("Column")
.DisplayFilterButton = True
.FilterType = exontrol.EXCOMBOBOXLib.FilterTypeEnum.exBlanks
End With
.ApplyFilter()
End With
|
235
|
How do I change the background color for the item

Dim h,hC
With Excombobox1
.Columns.Add("Default")
With .Items
h = .AddItem("Root")
hC = .InsertItem(h,Nothing,"Child 1")
.set_ItemBackColor(hC,Color.FromArgb(255,0,0))
.InsertItem(h,Nothing,"Child 2")
.set_ExpandItem(h,True)
End With
End With
|
33
|
How do I change the "All", "Blanks" or/and "NonBlanks" caption in the drop down filter window

With Excombobox1
.Columns.Add("Column").DisplayFilterButton = True
.set_Description(exontrol.EXCOMBOBOXLib.DescriptionTypeEnum.exFilterBarAll,"new name for (All)")
End With
|
111
|
How do I call your x-script language

With Excombobox1
With .ExecuteTemplate("Columns.Add(`Column`)")
.HeaderStrikeOut = True
.HeaderBold = True
End With
End With
|
110
|
How do I call your x-script language

With Excombobox1
.Template = "Columns.Add(`Column`).HTMLCaption = `<b>C</b>olumn`"
End With
|
238
|
How do I bold an item

With Excombobox1
.Columns.Add("Default")
With .Items
.set_ItemBold(.AddItem("bold"),True)
End With
End With
|
239
|
How do I bold a cell or an item

With Excombobox1
.Columns.Add("Default")
With .Items
.set_CellCaptionFormat(.AddItem("gets <b>bold</b> only a portion of text"),0,exontrol.EXCOMBOBOXLib.CaptionFormatEnum.exHTML)
End With
End With
|
240
|
How do I bold a cell

With Excombobox1
.Columns.Add("Default")
With .Items
.set_CellBold(.AddItem("bold"),0,True)
End With
End With
|
233
|
How do I associate an extra data to an item

With Excombobox1
.Columns.Add("Default")
With .Items
.set_ItemData(.AddItem("item"),"your extra data")
End With
End With
|
163
|
How do I assign an icon to the button in the scrollbar

With Excombobox1
.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" & _
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" & _
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" & _
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
.set_ScrollPartVisible(exontrol.EXCOMBOBOXLib.ScrollBarEnum.exHScroll,exontrol.EXCOMBOBOXLib.ScrollPartEnum.exLeftB1Part,True)
.set_ScrollPartCaption(exontrol.EXCOMBOBOXLib.ScrollBarEnum.exHScroll,exontrol.EXCOMBOBOXLib.ScrollPartEnum.exLeftB1Part,"<img>1</img>")
.ScrollHeight = 18
.ScrollButtonWidth = 18
End With
|
164
|
How do I assign a tooltip to a scrollbar

With Excombobox1
.set_ScrollToolTip(exontrol.EXCOMBOBOXLib.ScrollBarEnum.exHScroll,"This is a tooltip being shown when you click and drag the thumb in the horizontal scroll bar")
.ColumnAutoResize = False
.Columns.Add("C1").Width = 256
.Columns.Add("C2").Width = 256
.Columns.Add("C3").Width = 256
End With
|
578
|
How do I assign a database to your control, using ADO, ADOR or ADODB objects (MDB,JET)

Dim rs
With Excombobox1
.BeginUpdate()
.ColumnAutoResize = False
rs = New ADODB.Recordset()
With rs
.Open("Orders","Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Program Files\Exontrol\ExComboBox\Sample\Access\SAMPLE.MDB",3,3)
End With
.DataSource = rs
.EndUpdate()
End With
|
99
|
How do I assign a database to your control, using ADO, ADOR or ADODB objects

Dim rs
With Excombobox1
.ColumnAutoResize = False
rs = New ADODB.Recordset()
With rs
.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Program Files\Exontrol\ExComboBox\Sample\Access\SAMPLE.MDB",3,3)
End With
.DataSource = rs
End With
|
200
|
How do I arrange my columns on multiple lines

With Excombobox1
.HeaderHeight = 32
.Columns.Add("").HTMLCaption = "Line 1<br>Line 2"
End With
|
201
|
How do I arrange my columns on multiple levels

With Excombobox1
.Columns.Add("S").Width = 32
.Columns.Add("Level 2").LevelKey = 1
.Columns.Add("Level 3").LevelKey = 1
.Columns.Add("Level 4").LevelKey = 1
.Columns.Add("Level 1").LevelKey = "2"
.Columns.Add("Level 2").LevelKey = "2"
.Columns.Add("Level 3").LevelKey = "2"
.Columns.Add("Level 4").LevelKey = "2"
.Columns.Add("E").Width = 32
End With
|
303
|
How do I apply HTML format to a cell

Dim h
With Excombobox1
.TreeColumnIndex = -1
.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" & _
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" & _
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" & _
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
.set_HTMLPicture("p1","c:\exontrol\images\zipdisk.gif")
.set_HTMLPicture("p2","c:\exontrol\images\auction.gif")
.Columns.Add("Default")
With .Items
h = .AddItem("The following item shows some of the HTML format supported:")
.set_CellHAlignment(h,0,exontrol.EXCOMBOBOXLib.AlignmentEnum.CenterAlignment)
h = .AddItem("<br>text icons <img>1</img>, <img>2</img>, ... pictures <img>p1</img>, <img>p2</img> <br><br>text <b>bold</b>, <i>italic</i>, <" & _
"u>underline</u>, <s>strikeout</s>, ...<br><dotline>and so on...<br> <a>anchor</a> or <a2>hyperlink</a><br><fgcolor=FF0000>fgcolo" & _
"r</fgcolor> or <bgcolor=00FF00>bgcolor</bgcolor> ")
.set_CellCaptionFormat(h,0,exontrol.EXCOMBOBOXLib.CaptionFormatEnum.exHTML)
.set_CellSingleLine(h,0,exontrol.EXCOMBOBOXLib.CellSingleLineEnum.exCaptionWordWrap)
End With
End With
|
182
|
How do I align the icon in the column's header to the right

With Excombobox1
.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" & _
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" & _
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" & _
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
With .Columns.Add("ColumnName")
.HeaderImage = 1
.HeaderImageAlignment = exontrol.EXCOMBOBOXLib.AlignmentEnum.RightAlignment
End With
End With
|
346
|
How do change the visual appearance for the drop down border, using EBN

With Excombobox1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.DropDownBorder = &H1000000
End With
|
70
|
How do change the visual appearance for the control's header bar, using EBN

With Excombobox1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.HeaderBackColor32 = &H1000000
End With
|
197
|
How do change the vertical alignment for all cells in the column

With Excombobox1
.Columns.Add("MultipleLine").set_Def(exontrol.EXCOMBOBOXLib.DefColumnEnum.exCellSingleLine,False)
.Columns.Add("VAlign").set_Def(exontrol.EXCOMBOBOXLib.DefColumnEnum.exCellVAlignment,2)
With .Items
.set_CellCaption(.AddItem("This is a bit of long text that should break the line"),1,"bottom")
End With
With .Items
.set_CellCaption(.AddItem("This is a bit of long text that should break the line"),1,"bottom")
End With
End With
|
196
|
How do change the foreground color for all cells in the column

With Excombobox1
.Columns.Add("ForeColor").set_Def(exontrol.EXCOMBOBOXLib.DefColumnEnum.exCellForeColor,255)
.Items.AddItem(0)
.Items.AddItem(1)
End With
|
195
|
How do change the background color for all cells in the column

With Excombobox1
.Columns.Add("BackColor").set_Def(exontrol.EXCOMBOBOXLib.DefColumnEnum.exCellBackColor,255)
.Items.AddItem(0)
.Items.AddItem(1)
End With
|
5
|
How can I use HTML format in column's header

With Excombobox1
.Columns.Add("ColumnName").HTMLCaption = "<b>HTML</b> <fgcolor=0000FF>Col</fgcolor>umn"
End With
|
28
|
How can I underline the column's header

With Excombobox1
.Columns.Add("Column 1").HeaderUnderline = True
End With
|
213
|
How can I underline all cells in the column

Dim var_ConditionalFormat
With Excombobox1
var_ConditionalFormat = .ConditionalFormats.Add("1")
With var_ConditionalFormat
.Underline = True
.ApplyTo = exontrol.EXCOMBOBOXLib.FormatApplyToEnum.exFormatToColumns
End With
.Columns.Add("Column")
.Items.AddItem(0)
.Items.AddItem(1)
End With
|
185
|
How can I specify the minimum width for the column, if I use WidthAutoResize property

With Excombobox1
With .Columns.Add("Auto")
.WidthAutoResize = True
.MinWidthAutoResize = 32
End With
.Items.AddItem(0)
.Items.AddItem(1)
End With
|
186
|
How can I specify the maximum width for the column, if I use WidthAutoResize property

With Excombobox1
With .Columns.Add("Auto")
.WidthAutoResize = True
.MinWidthAutoResize = 32
.MaxWidthAutoResize = 128
End With
.Items.AddItem(0)
.Items.AddItem(1)
End With
|
441
|
How can I specify the format for negative numbers

Dim h
With Excombobox1
.BeginUpdate()
.Columns.Add("Def").set_Def(exontrol.EXCOMBOBOXLib.DefColumnEnum.exCellCaptionFormat,1)
With .Items
h = .AddItem(-100000.27)
.set_FormatCell(h,0,"(value format '') + ' <fgcolor=808080>(default)'")
h = .AddItem(-100000.27)
.set_FormatCell(h,0,"(value format '||||1') + ' <fgcolor=808080>(Negative sign, number; for example, -1.1)'")
End With
.EndUpdate()
End With
|
432
|
How can I specify an item to be always the last item

Dim h
With Excombobox1
.BeginUpdate()
.TreeColumnIndex = -1
.Columns.Add("Numbers").SortType = exontrol.EXCOMBOBOXLib.SortTypeEnum.SortNumeric
With .Items
.AddItem(1)
.AddItem(2)
.AddItem(3)
.AddItem(4)
h = .AddItem("last")
.set_CellHAlignment(h,0,exontrol.EXCOMBOBOXLib.AlignmentEnum.RightAlignment)
.set_SortableItem(h,False)
.SortChildren(0,0,True)
End With
.EndUpdate()
End With
|
433
|
How can I specify an item to be always the first item

Dim h
With Excombobox1
.BeginUpdate()
.TreeColumnIndex = -1
.Columns.Add("Numbers").SortType = exontrol.EXCOMBOBOXLib.SortTypeEnum.SortNumeric
With .Items
.AddItem(1)
.AddItem(2)
.AddItem(3)
.AddItem(4)
h = .AddItem("first")
.set_ItemPosition(h,0)
.set_CellHAlignment(h,0,exontrol.EXCOMBOBOXLib.AlignmentEnum.RightAlignment)
.set_SortableItem(h,False)
.SortChildren(0,0,False)
End With
.EndUpdate()
End With
|
530
|
How can I specify alternate background colors for each root item, similar with BackColorAlternate

Dim h
With Excombobox1
.BeginUpdate()
.LinesAtRoot = exontrol.EXCOMBOBOXLib.LinesAtRootEnum.exLinesAtRoot
With .Columns.Add("Default")
.set_Def(exontrol.EXCOMBOBOXLib.DefColumnEnum.exCellHasCheckBox,True)
.PartialCheck = True
End With
With .Columns.Add("Position")
.FormatColumn = "( ( 1:=( ( 0:=(1 rpos '') ) lfind `.`) ) < 0 ? =:0 : (=:0 left =:1) )"
.Visible = False
End With
With .ConditionalFormats.Add("%C1 mod 2")
.BackColor = Color.FromArgb(240,240,240)
End With
With .Items
h = .AddItem("Root 1")
.InsertItem(h,Nothing,"Child 1")
.InsertItem(h,Nothing,"Child 2")
.set_ExpandItem(h,True)
h = .AddItem("Root 2")
.InsertItem(h,Nothing,"Child 1")
.InsertItem(h,Nothing,"Child 2")
h = .AddItem("Root 3")
.InsertItem(h,Nothing,"Child 1")
.InsertItem(h,Nothing,"Child 2")
End With
.EndUpdate()
End With
|
355
|
How can I sort the value gets listed in the drop down filter window

Dim h
With Excombobox1
.LinesAtRoot = exontrol.EXCOMBOBOXLib.LinesAtRootEnum.exLinesAtRoot
.MarkSearchColumn = False
.set_Description(exontrol.EXCOMBOBOXLib.DescriptionTypeEnum.exFilterBarAll,"")
.set_Description(exontrol.EXCOMBOBOXLib.DescriptionTypeEnum.exFilterBarBlanks,"")
.set_Description(exontrol.EXCOMBOBOXLib.DescriptionTypeEnum.exFilterBarNonBlanks,"")
With .Columns.Add("P1")
.DisplayFilterButton = True
.DisplayFilterPattern = False
.FilterList = exontrol.EXCOMBOBOXLib.FilterListEnum.exSortItemsDesc
End With
With .Columns.Add("P2")
.DisplayFilterButton = True
.DisplayFilterPattern = False
.FilterList = exontrol.EXCOMBOBOXLib.FilterListEnum.exSortItemsAsc
End With
With .Items
h = .AddItem("Z3")
.set_CellCaption(h,1,"C")
.set_CellCaption(.InsertItem(h,Nothing,"Z1"),1,"B")
.set_CellCaption(.InsertItem(h,Nothing,"Z2"),1,"A")
.set_ExpandItem(h,True)
End With
End With
|
230
|
How can I sort the items

Dim h
With Excombobox1
.Columns.Add("Default")
With .Items
h = .AddItem("Root")
.InsertItem(h,Nothing,"Child 1")
.InsertItem(h,Nothing,"Child 2")
.set_ExpandItem(h,True)
End With
.Columns.Item("Default").SortOrder = exontrol.EXCOMBOBOXLib.SortOrderEnum.SortDescending
End With
|
136
|
How can I sort by multiple columns

With Excombobox1
.SingleSort = False
.Columns.Add("C1").SortOrder = exontrol.EXCOMBOBOXLib.SortOrderEnum.SortAscending
.Columns.Add("C2").SortOrder = exontrol.EXCOMBOBOXLib.SortOrderEnum.SortDescending
.Columns.Add("C3").SortOrder = exontrol.EXCOMBOBOXLib.SortOrderEnum.SortAscending
End With
|
434
|
How can I simulate displaying groups

Dim h,h1
With Excombobox1
.HasLines = exontrol.EXCOMBOBOXLib.HierarchyLineEnum.exNoLine
.ScrollBySingleLine = True
With .Columns
.Add("Name")
.Add("A")
.Add("B")
.Add("C")
End With
With .Items
h = .AddItem("Group 1")
.set_CellHAlignment(h,0,exontrol.EXCOMBOBOXLib.AlignmentEnum.CenterAlignment)
.set_ItemDivider(h,0)
.set_ItemDividerLineAlignment(h,exontrol.EXCOMBOBOXLib.DividerAlignmentEnum.DividerBoth)
.set_ItemHeight(h,24)
.set_SortableItem(h,False)
h1 = .InsertItem(h,Nothing,"Child 1")
.set_CellCaption(h1,1,1)
.set_CellCaption(h1,2,2)
.set_CellCaption(h1,3,3)
h1 = .InsertItem(h,Nothing,"Child 2")
.set_CellCaption(h1,1,4)
.set_CellCaption(h1,2,5)
.set_CellCaption(h1,3,6)
.set_ExpandItem(h,True)
h = .AddItem("Group 2")
.set_CellHAlignment(h,0,exontrol.EXCOMBOBOXLib.AlignmentEnum.CenterAlignment)
.set_ItemDivider(h,0)
.set_ItemDividerLineAlignment(h,exontrol.EXCOMBOBOXLib.DividerAlignmentEnum.DividerBoth)
.set_ItemHeight(h,24)
.set_SortableItem(h,False)
h1 = .InsertItem(h,Nothing,"Child 1")
.set_CellCaption(h1,1,1)
.set_CellCaption(h1,2,2)
.set_CellCaption(h1,3,3)
h1 = .InsertItem(h,Nothing,"Child 2")
.set_CellCaption(h1,1,4)
.set_CellCaption(h1,2,5)
.set_CellCaption(h1,3,6)
.set_ExpandItem(h,True)
End With
End With
|
128
|
How can I show the locked / fixed items on the bottom side of the control

With Excombobox1
.ShowLockedItems = True
.Columns.Add("Column")
With .Items
.set_LockedItemCount(exontrol.EXCOMBOBOXLib.VAlignmentEnum.exMiddle,2)
.set_CellCaption(.get_LockedItem(exontrol.EXCOMBOBOXLib.VAlignmentEnum.exMiddle,0),0,"locked item 1")
.set_CellCaption(.get_LockedItem(exontrol.EXCOMBOBOXLib.VAlignmentEnum.exMiddle,1),0,"locked item 2")
.AddItem("un-locked item")
End With
End With
|
127
|
How can I show the locked / fixed items

With Excombobox1
.ShowLockedItems = True
.Columns.Add("Column")
With .Items
.set_LockedItemCount(exontrol.EXCOMBOBOXLib.VAlignmentEnum.exTop,2)
.set_CellCaption(.get_LockedItem(exontrol.EXCOMBOBOXLib.VAlignmentEnum.exTop,0),0,"locked item 1")
.set_CellCaption(.get_LockedItem(exontrol.EXCOMBOBOXLib.VAlignmentEnum.exTop,1),0,"locked item 2")
.AddItem("un-locked item")
End With
End With
|
336
|
How can I show the drop down window as soon as user starts typing in the control

With Excombobox1
.AutoDropDown = True
.Columns.Add("Column")
With .Items
.AddItem("Item 3")
.AddItem("Item 1")
.AddItem("Item 2")
End With
End With
|
125
|
How can I show the control's sort bar

With Excombobox1
.SortBarVisible = True
End With
|
55
|
How can I show the control's grid lines only for added/visible items

With Excombobox1
.MarkSearchColumn = False
.DrawGridLines = exontrol.EXCOMBOBOXLib.GridLinesEnum.exRowLines
.Columns.Add("Column 1")
.Columns.Add("Column 2")
.Items.AddItem(0)
.Items.AddItem(1)
.Items.AddItem(2)
End With
|
17
|
How can I show the control's grid lines

With Excombobox1
.MarkSearchColumn = False
.DrawGridLines = exontrol.EXCOMBOBOXLib.GridLinesEnum.exAllLines
.Columns.Add("Column 1")
.Columns.Add("Column 2")
.Items.AddItem(0)
.Items.AddItem(1)
.Items.AddItem(2)
End With
|
449
|
How can I show the child items with no identation

Dim h
With Excombobox1
.LinesAtRoot = exontrol.EXCOMBOBOXLib.LinesAtRootEnum.exGroupLinesOutside
.Indent = 12
.HasLines = exontrol.EXCOMBOBOXLib.HierarchyLineEnum.exThinLine
.Columns.Add("Default")
With .Items
h = .AddItem("Root 1")
.InsertItem(h,Nothing,"Child 1")
.InsertItem(h,Nothing,"Child 2")
.InsertItem(h,Nothing,"Child 3")
.set_ExpandItem(h,True)
h = .AddItem("Root 2")
.InsertItem(h,Nothing,"Child 1")
.InsertItem(h,Nothing,"Child 2")
.InsertItem(h,Nothing,"Child 3")
End With
End With
|
12
|
How can I show or hide a column

With Excombobox1
.Columns.Add("Hidden").Visible = False
End With
|
204
|
How can I show or display the control's filter

With Excombobox1
.Columns.Add("Filter").DisplayFilterButton = True
End With
|
480
|
How can I show only the matching items, while user types in the drop down control

' EditChange event - Fired when the user has taken an action that may have altered text in an edit control.
Private Sub Excombobox1_EditChange(ByVal sender As System.Object, ByVal ColIndex As Integer) Handles Excombobox1.EditChange
Dim sLabel
With Excombobox1
sLabel = .get_EditText(ColIndex)
Debug.Print( "Select the item that maches exactly the typing label: " )
Debug.Print( sLabel )
With .Items
.set_SelectItem(.FocusItem,False)
.set_SelectItem(.get_FindItem(sLabel,ColIndex),True)
End With
End With
End Sub
With Excombobox1
.BeginUpdate()
.SingleEdit = True
.AutoComplete = False
.AutoSelect = False
.AutoSearch = False
.AutoDropDown = True
.IntegralHeight = True
.HeaderVisible = False
.Columns.Add("Friends")
With .Items
.AddItem("Fred")
.AddItem("Tina")
.AddItem("Tom")
End With
.EndUpdate()
End With
|
212
|
How can I show in italic all data in the column

Dim var_ConditionalFormat
With Excombobox1
var_ConditionalFormat = .ConditionalFormats.Add("1")
With var_ConditionalFormat
.Italic = True
.ApplyTo = exontrol.EXCOMBOBOXLib.FormatApplyToEnum.exFormatToColumns
End With
.Columns.Add("Column")
.Items.AddItem(0)
.Items.AddItem(1)
End With
|
214
|
How can I show as strikeout all cells in the column

Dim var_ConditionalFormat
With Excombobox1
var_ConditionalFormat = .ConditionalFormats.Add("1")
With var_ConditionalFormat
.StrikeOut = True
.ApplyTo = exontrol.EXCOMBOBOXLib.FormatApplyToEnum.exFormatToColumns
End With
.Columns.Add("Column")
.Items.AddItem(0)
.Items.AddItem(1)
End With
|
208
|
How can I show a column that adds values in the cells

With Excombobox1
.Columns.Add("A")
.Columns.Add("B")
.Columns.Add("A+B").ComputedField = "%0 + %1"
With .Items
.set_CellCaption(.AddItem(1),1,2)
End With
With .Items
.set_CellCaption(.AddItem(10),1,20)
End With
End With
|
600
|
How can I replace or add an icon at runtime

With Excombobox1
.BeginUpdate()
.ReplaceIcon("gAAAABgYACEHgUJFEEAAWhUJCEJEEJggEhMCYEXjUbjkJQECj8gj8hAEjkshYEpk8kf8ClsulsvAExmcvf83js5nU7nkCeEcn8boMaocXosCB9Hn09pkzcEuoL/fE+O" & _
"kYB0gB9YhIHrddgVcr9aktZADAD8+P8CgIA==")
.ReplaceIcon("C:\images\favicon.ico",0)
.Columns.Add("Items").set_Def(exontrol.EXCOMBOBOXLib.DefColumnEnum.exCellCaptionFormat,1)
.Items.AddItem("Item <img>1</img>")
.EndUpdate()
End With
|
350
|
How can I remove the filter

With Excombobox1
With .Columns.Add("Column")
.DisplayFilterButton = True
.FilterType = exontrol.EXCOMBOBOXLib.FilterTypeEnum.exBlanks
End With
.ApplyFilter()
.ClearFilter()
End With
|
227
|
How can I remove or delete an item

Dim h
With Excombobox1
.Columns.Add("Default")
h = .Items.AddItem("removed item")
.Items.RemoveItem(h)
End With
|
228
|
How can I remove or delete all items

With Excombobox1
.Columns.Add("Default")
.Items.AddItem("removed item")
.Items.RemoveAllItems()
End With
|